package com.kitty.game.house.message;


import com.kitty.mina.Modules;
import com.kitty.mina.annotation.MessageMeta;
import com.kitty.mina.message.Message;

@MessageMeta(module = Modules.MSG_OPEN_MODIFY_HOUSE_SPACE_DLG)
public class RespOpenModifyHouseSpace extends Message {

    private String action;       //购买buy 升级upgrade 改造modify                    62 75 79 buy
    private String lastHouse;   //最后选中  升级的时候，设置当前已有的居所类型
    private String curHouse;    //当前选中的类型 "1":小舍 "2":雅筑,"3":豪宅   小舍
    private int price;          //房屋价格
    private byte bedRoom  ;
    private byte storeRoom;
    private byte artifactRoom;
    private byte practiceRoom;

    @Override
    public String toString() {
        return "RespOpenModifyHouseSpace{" +
                "action='" + action + '\'' +
                ", lastHouse='" + lastHouse + '\'' +
                ", curHouse='" + curHouse + '\'' +
                ", price=" + price +
                ", bedRoom=" + bedRoom +
                ", storeRoom=" + storeRoom +
                ", artifactRoom=" + artifactRoom +
                ", practiceRoom=" + practiceRoom +
                '}';
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public String getLastHouse() {
        return lastHouse;
    }

    public void setLastHouse(String lastHouse) {
        this.lastHouse = lastHouse;
    }

    public String getCurHouse() {
        return curHouse;
    }

    public void setCurHouse(String curHouse) {
        this.curHouse = curHouse;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public byte getBedRoom() {
        return bedRoom;
    }

    public void setBedRoom(byte bedRoom) {
        this.bedRoom = bedRoom;
    }

    public byte getStoreRoom() {
        return storeRoom;
    }

    public void setStoreRoom(byte storeRoom) {
        this.storeRoom = storeRoom;
    }

    public byte getArtifactRoom() {
        return artifactRoom;
    }

    public void setArtifactRoom(byte artifactRoom) {
        this.artifactRoom = artifactRoom;
    }

    public byte getPracticeRoom() {
        return practiceRoom;
    }

    public void setPracticeRoom(byte practiceRoom) {
        this.practiceRoom = practiceRoom;
    }
}
